<?php
session_start();
error_reporting(0);
if($_SESSION['username']!="")
{
?>
<!DOCTYPE html>
<html lang="en">
  <head>
     <? include "./include/head.php"; ?>
	  <? include "./include/js.php"; ?>
  </head>
  <body>
  <? include "./include/body.php"; ?>
        <div class="span9">
        <div class="hero-unit">  
        <?php
        include "./config/connection.php";
        error_reporting(0);
		$id_ekspedisi = $_GET['id_ekspedisi'];
        $perintah="SELECT * FROM ekspedisi where id_ekspedisi='".$id_ekspedisi."'";
	$hasil=mysql_query($perintah);
	$baris=mysql_fetch_array($hasil);
	error_reporting(0);
	$input = $_GET["input"];
					if($input == "invalid")
					{
						echo"<b>Maaf data tidak lengkap, silahkan ulangi</b>" ;
					}
					
					 
	?>
	 <form class="form-horizontal" action="delivery_expense_process_edit.php" method="post">
            <fieldset>
             
                <input type="hidden" name="id_ekspedisi" value="<?php echo "$baris[id_ekspedisi]";?>">
				
                  
                  <label class="control-label" >Provinsi</label>
                    <div class="controls">
                        <input type="text" class="input-xlarge" name="propinsi" size="30" value="<?php echo "$baris[propinsi]";?>">
                        <p class="help-block"></p>
                    </div>
                  <label class="control-label">Kota</label>
                    <div class="controls">
                        <input name="kota" class="input-xlarge" type="text" size="30" value="<?php echo "$baris[kota]";?>">
                        <p class="help-block"></p>
                    </div>
                  
                   <label class="control-label">Harga</label>
                    <div class="controls">
                        <input type="text" name="harga" class="input-xlarge" value="<?php echo "$baris[harga]";?>">
                        <p class="help-block"></p>
                    </div>
					    <p class="help-block"></p>
                  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                <button class="btn btn-danger" type="submit">
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Ubah&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                </button>
                &nbsp;&nbsp;&nbsp;
                <button class="btn btn-danger" type="reset" value="Reset">
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Batal&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                </button>
                </div>
                
            </fieldset>
        </form>
            
            
          </div>
          </div><!--/row-->

         
            </div><!--/span-->
          </div><!--/row-->
        </div><!--/span-->
      </div><!--/row-->

      <hr>

<? include "./include/menubawah.php"; ?>
    <?php
    
    ?>
  </body>
</html>
<?php 
	}
else {
            include 'warning.php';
	
}
?>